package edu.fib.upc.erdapfel;

import android.view.MotionEvent;

/* 
 * Wrap New is an ugly as shit workaround to allow the use of some multitouch
 * features with minimum sdk 5, but still maintaining minimum sdk to 4
 * 
 * I feel soiled, shame on you android designers. shame on you.
 */
public class WrapNew {
	static int getPointerCount(MotionEvent event) {
		return event.getPointerCount();
	}

	public static float getX(MotionEvent ev, int i) {
		return ev.getX(i);
	}

	public static float getY(MotionEvent ev, int i) {
		return ev.getY(i);
	}

	public static int getPointerId(MotionEvent ev, int i) {
		return ev.getPointerId(i);
	}
}
